package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运输路线
 * </p>
 *
 * @author caoYong
 * @since 2019-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_carriage_route")
@ApiModel(value="StoCarriageRoute对象", description="运输路线")
public class StoCarriageRoute implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "ROUTE_ID", type = IdType.UUID)
    private String routeId;

    @ApiModelProperty(value = "路线编号")
    @TableField("ROUTE_CODE")
    private String routeCode;

    @ApiModelProperty(value = "路线名称")
    @TableField("ROUTE_NAME")
    private String routeName;

    @ApiModelProperty(value = "运输里程")
    @TableField("CARRIAGE_MILEAGE")
    private String carriageMileage;

    @ApiModelProperty(value = "运输周期")
    @TableField("CARRIAGE_PERIOD")
    private String carriagePeriod;

    @ApiModelProperty(value = "运输方式(VehicleShipping_Method 1空运,2水运,3人工驾送,4自提,5公路,6公铁联运,7水陆联运,8铁路,9板车)")
    @TableField("CARRIAGE_TYPE")
    private String carriageType;

    @ApiModelProperty(value = "审核状态 (CarrigeRoute_ApproveType 1新建,2审核通过,3审核未通过)")
    @TableField("APPROVE_STATE")
    private String approveState;

    @ApiModelProperty(value = "起点省份代码")
    @TableField("START_PROVINCE_CODE")
    private String startProvinceCode;

    @ApiModelProperty(value = "起点省份名称")
    @TableField("START_PROVINCE_NAME")
    private String startProvinceName;

    @ApiModelProperty(value = "起点城市代码")
    @TableField("START_CITY_CODE")
    private String startCityCode;

    @ApiModelProperty(value = "起点城市名称")
    @TableField("START_CITY_NAME")
    private String startCityName;

    @ApiModelProperty(value = "起点县区代码")
    @TableField("START_COUNTY_CODE")
    private String startCountyCode;

    @ApiModelProperty(value = "起点县区名称")
    @TableField("START_COUNTY_NAME")
    private String startCountyName;

    @ApiModelProperty(value = "起点乡镇代码")
    @TableField("START_TOWNS_CODE")
    private String startTownsCode;

    @ApiModelProperty(value = "起点乡镇名称")
    @TableField("START_TOWNS_NAME")
    private String startTownsName;

    @ApiModelProperty(value = "终点省份代码")
    @TableField("END_PROVINCE_CODE")
    private String endProvinceCode;

    @ApiModelProperty(value = "终点省份名称")
    @TableField("END_PROVINCE_NAME")
    private String endProvinceName;

    @ApiModelProperty(value = "终点城市代码")
    @TableField("END_CITY_CODE")
    private String endCityCode;

    @ApiModelProperty(value = "终点城市名称")
    @TableField("END_CITY_NAME")
    private String endCityName;

    @ApiModelProperty(value = "终点县区代码")
    @TableField("END_COUNTY_CODE")
    private String endCountyCode;

    @ApiModelProperty(value = "终点县区名称")
    @TableField("END_COUNTY_NAME")
    private String endCountyName;

    @ApiModelProperty(value = "终点乡镇代码")
    @TableField("END_TOWNS_CODE")
    private String endTownsCode;

    @ApiModelProperty(value = "终点乡镇名称")
    @TableField("END_TOWNS_NAME")
    private String endTownsName;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "版本")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "是否发送(1是0否)")
    @TableField("IS_SEND")
    private Integer isSend;

    @ApiModelProperty(value = "是否作废(1是0否)")
    @TableField("IS_DEL")
    private Integer isDel;


}
